package com.two.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value="商户入驻信息实体类")
public class Businessman {
    @TableId(value = "id",type = IdType.AUTO)
    @ApiModelProperty(value = "商户入驻信息id")
    private Integer id;

    @TableField(value = "userid")
    @ApiModelProperty(value = "用户id")
    private Integer userid;

    @TableField(value = "restaurantname")
    @ApiModelProperty(value = "餐厅名称")
    private String restaurantname;

    @TableField(value = "address")
    @ApiModelProperty(value = "餐厅地址")
    private String address;

    @TableField(value = "phone")
    @ApiModelProperty(value = "餐厅座机")
    private String phone;

    @TableField(value = "remark")
    @ApiModelProperty(value = "餐厅描述")
    private String remark;

    @TableField(value = "url")
    @ApiModelProperty(value = "餐厅图片")
    private String url;

    @TableField(value = "state")
    @ApiModelProperty(value = "审核状态")
    private Integer state;
}
